PSActivityGeneric looks for a PSRunspace in the Workflow context. If it doesn't find a runspace it will create an initialize one.
System.Object
System.Activities.Activity
System.Activities.ActivityWithResult
System.Activities.Activity<TResult>
System.Activities.NativeActivity<TResult>
MVPSI.JAMS.Activities.JAMSNativeActivityGeneric<T>
MVPSI.JAMS.Activities.PowerShell.PSActivityGeneric<TResult>
MVPSI.JAMS.Activities.PowerShell.PSScriptGeneric<TResult>
MVPSI.JAMS.Activities.PowerShell.PSWrapperGeneric<TResult>
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2